//计算属性 购物车总数
let getters = {
  count:(state)=>state.cardList.reduce((prev,next)=>prev+next.bookCount,0)
}

export default getters;
